package com.lc.smd.controller.local;


import com.lc.smd.entity.local.TestTable;
import com.lc.smd.service.local.TestTableService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @description: some desc
 * @author: LChuang
 * @date: 2023/9/6 14:20
 */
@RestController
@RequestMapping("/local")
@RequiredArgsConstructor
public class LocalController {

    private final TestTableService testTableService;

    @GetMapping("/list")
    private List<TestTable> list(){
        return testTableService.list();
    }


}
